package com.css.ztb.mapper;

import com.css.ztb.domain.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysMenuMapper {
    int deleteByPrimaryKey(Long menuId);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(Long menuId);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);

    String selectPermsByUserId(@Param(value = "userId") Long userId);

    List<SysMenu> selectMenuNormalAll();

    List<SysMenu> selectMenusByUserId(@Param(value = "userId") Long userId);
}